import axios from 'axios'
<<<<<<< HEAD
// axios.default.widthCredentials = true

const getLogin = () => axios.get('/api/login')

const getSearch=(id)=>axios.get(`/api/search?keywords=${id}&limit=10`)
export{
    getLogin,
    getSearch
=======

const getLogin = () => axios.get('/api/login')

const getSearch = (id) => axios.get(`/api/search?keywords=${id}&limit=10`)

const getList = () => axios.get("/api/personalized")

const getNew = () => axios.get("/api/top/album?offset=0&limit=30")

const getLunbo = () => axios.get("/api/banner")

export {
    getLogin,
    getSearch,
    getList,
    getNew,
    getLunbo
>>>>>>> 4584f54eb3ca1bca8f1f1d9d93d2148773cee257
}